package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("ums_admin")
public class UmsAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 昵称
     */
      private String username;

      /**
     * 密码
     */
      private String password;

      /**
     * 昵称
     */
      private String head;

      /**
     * 个性签名
     */
      private String sign;

    private String email;

    private LocalDateTime createTime;

      /**
     * 账号启用状态（ 0->禁用 1–>启用)
     */
      private Long states;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getUsername() {
        return username;
    }

      public void setUsername(String username) {
          this.username = username;
      }
    
    public String getPassword() {
        return password;
    }

      public void setPassword(String password) {
          this.password = password;
      }
    
    public String getHead() {
        return head;
    }

      public void setHead(String head) {
          this.head = head;
      }
    
    public String getSign() {
        return sign;
    }

      public void setSign(String sign) {
          this.sign = sign;
      }
    
    public String getEmail() {
        return email;
    }

      public void setEmail(String email) {
          this.email = email;
      }
    
    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
    
    public Long getStates() {
        return states;
    }

      public void setStates(Long states) {
          this.states = states;
      }

    @Override
    public String toString() {
        return "UmsAdmin{" +
              "id=" + id +
                  ", username=" + username +
                  ", password=" + password +
                  ", head=" + head +
                  ", sign=" + sign +
                  ", email=" + email +
                  ", createTime=" + createTime +
                  ", states=" + states +
              "}";
    }
}
